const env = 'test';
/*后台访问地址*/
const loginUrl = 
//'https://192.168.31.112'
 `https://ivcs-${env}.zealcomm.cn`;
//表单地址
const formUrl = `https://ivcs-${env}.zealcomm.cn/form/form-submit`;

//白板/pdf共享/证言抄录配置
const whiteboardInfo ={
	hostName:`https://ivcs-${env}.zealcomm.cn`, // 白板服务地址
	whiteboardPath:'/customer/static/whiteboard', // 白板服务地址path
};

// 如果服务端使用了作为aws文件存储，则需要配置如下地址，才能预览文件，否则直接配置''即可
// https://ivcs-${env}.zealcomm.cn/ivcs/api/v1/fileplay?fileKey=
const awsFileUrl = ``;

/*是否使用@zco/ivcs*/
const ivcsUseNpm = false;

/**是否开启日志留痕 */
const isOpenLogs = false;

/**日志保存的服务url */
const saveLogsUrl = `https://ivcs-${env}.zealcomm.cn`

/*上传文件最大限制*/
const maxUploadFileSize = 1024000 * 50;

// 打开页面就呼叫的机构名
const org = 'sun';

//打开页面就呼叫的业务场景id
const bizscenariosId = 255;

// 上传文件后的访问地址。即坐席可以访问的地址，一般是内网地址
const uploadOriginAddress = `ivcs-${env}.zealcomm.cn`;

// 访客本地可以访问的上传的文件地址，需要把上面的内网地址替换成下面的公网地址
const replaceUploadOriginAddress = `ivcs-${env}.zealcomm.cn`;

// 打开日志countly
const isOpenCountlyLog = true;

// pdf预览地址
const pdfPreviewUrl = `https://ivcs-${env}.zealcomm.cn/customer/static/pdf/web/viewer.html`

/** 默认的推流参数 */
const defaultMediaOptions = {
	cameraStreamAudioConstraints: {
		deviceId: undefined,
		source: 'mic'
	},
	cameraStreamVideoConstraints: {
		deviceId: undefined,
		frameRate: 15,
		resolution: {
			width: 640,
			height: 480
		},
		source: 'camera'
	},
	cameraPublishOptions: {
		audio: [
			{
				codec: {
					name: 'opus'
				},
				maxBitrate: 64
			}
		],
		video: [
			{
				codec: {
					name: 'h264'
				},
				maxBitrate: 512
			},
			{
				codec: {
					name: 'vp8'
				},
				maxBitrate: 2500
			}
		]
	},
	screenStreamAudioConstraints: {
		source: 'screen-cast'
	},
	screenStreamVideoConstraints: {
		frameRate: 15,
		resolution: {
			width: 1280,
			height: 720
		},
		source: 'screen-cast'
	},
	screenPublishOptions: {
		audio: [
			{
				codec: {
					name: 'opus'
				},
				maxBitrate: 64
			}
		],
		video: [
			{
				codec: {
					name: 'vp8'
				},
				maxBitrate: 1024
			},
			{
				codec: {
					name: 'h264'
				},
				maxBitrate: 2000
			}
		]
	}
};
